package com.heima.admin.controller.v1;

import com.heima.admin.service.ApUserRealnameService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.dtos.AuthDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/apuserrealname/")
public class ApUserRealnameController {

    @Autowired
    private ApUserRealnameService apUserRealnameService ;

    @GetMapping("list")
    public ResponseResult ApUserList(@RequestBody AuthDto authDto){

        return ResponseResult.okResult(apUserRealnameService.ApUserList(authDto));
    }


    @PostMapping("authPass")
    public ResponseResult authPass(@RequestBody AuthDto authDto){
        return null;
    }
}
